<div class="card rounded shadow-sm mb-2">
    <div class="card-header bg-white border-0 p-1 d-flex justify-content-center auto-height">
        <a href="{{route('edu.center.topic.index',$user)}}"
           class="mt-3 d-flex flex-column align-items-center">
            <img
                src="{{$user->icon}}"
                class="rounded-circle border" style="width:150px;height:150px;">
            <span class="text-secondary mt-2">{{$user->name}}</span>
        </a>
    </div>
    <div class="card-body text-center text-secondary ">
        <i aria-hidden="true" class="fa fa-home mr-1 "></i>
        <i aria-hidden="true" class="fa fa-envelope mr-1 "></i>
        <i aria-hidden="true" class="fab fa-weibo mr-1 "></i>
        <i aria-hidden="true" class="fab fa-weixin mr-1 "></i>
        <i aria-hidden="true" class="fab fa-github mr-1 "></i>
        <i aria-hidden="true" class="fab fa-qq mr-1 "></i>
    </div>
    @if($user->id!=user('id'))
        <div class="text-center pb-3">

            <a href="{{route('user.follower',$user)}}"
               title="" class="btn btn-sm  {{$user->isFollower($user) ? 'btn-success' : 'btn-outline-success'}} ">
                <i class="fa fa-plus"></i>
                {{$user->isFollower($user) ? '已关注' : '关注 TA'}}
            </a>
            <a href="{{route('common.favour',['User',$user->id])}}"
               class="btn btn-sm {{$user->make()->isFavour ? 'btn-info' : 'btn-outline-info'}} ">
                <i class="fas fa-heart "></i>
                {{$user->make()->isFavour ? '感谢点赞' : '点个赞呗'}}
            </a>

        </div>
    @endif
</div>
